PGMB\ParseFormFields C

Total Complexity 102
Dependencies 25
Dependents 4
Total lines 510
Lines of code 341
Logical lines of code 195
Comment lines 82
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
getLocalPost()
B
38 15 61
get_media_item()
A
54 10 18
maybe_generate_intermediate()
A
47 7 36
validate_wp_image_size()
S
53 6 20
sanitize_location()
S
58 5 16
get_media_items()
S
61 5 12
getLocations()
S
62 5 11
sanitize()
S
59 4 15
validate_image_props()
S
62 5 10
generate_placeholder_variables()
S
53 3 23
get_link_parsing_mode()
S
62 3 12
get_file_size_from_download()
S
62 3 12
get_local_file_size()
S
64 3 11
get_remote_file_size()
S
65 3 11
get_summary()
S
70 3 6
get_file_size_from_headers()
S
68 3 7
convert_webp()
S
58 2 14
is_repost()
S
78 2 3
get_content_image()
S
68 2 7
is_url_relative()
S
77 2 3
is_remote_mime_webp()
S
74 2 4
validate_external_image_size()
S
64 2 9
__construct()
S
71 2 6
get_file_size_from_path()
S
80 1 3
get_topic_type()
S
80 1 3
getPublishDateTime()
S
82 1 3
validate()
S
91 1 2
parse_placeholder_variables()
S
78 1 3